package com.contact.service;

import java.util.List;

import com.contact.model.Contact;
import com.contact.model.Message;

public interface ContactService {
	
	Contact loadById(int id);
	
	List<Contact> load(String name);

	List<Contact> loadAll();
	
	List<String> getAliasListCache();
	
	List<String> search(String name, List<String> list, int limit);
	
	void insertMessage(String content);
	
	List<Message> loadMessages();

}
